home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / gfx / misc / gnuplot-3.7src.lha / gnuplot-3.7src / gnuplot-3.7.lha / gnuplot-3.7 / demo / multimsh.dem < prev    next >
Text File  |  1998-04-22  |  1KB  |  50 lines

  1. set parametric
  2. set hidden3d
  3. set nokey
  4. set xrange [0:8]
  5. set yrange [-4:4]
  6. set zrange [-2:2]
  7. set data style line
  8. set title "Demo of multiple mesh per file capability - Digitized Blue Whale"
  9. splot "whale.dat"
  10. pause -1 "Press Return"
  11. set title "Demo of multiple mesh per file capability - Digitized Blue Whale"
  12. set xlabel "Mesh or Network 0"
  13. splot "whale.dat" index 0
  14. pause -1 "Press Return"
  15.  
  16. set autoscale z
  17. set xlabel "Mesh or Network 6"
  18. set autoscale z
  19. splot "whale.dat" index 6 using 3:2:1 
  20. pause -1 "Press Return"
  21.  
  22. set zrange [-2:2]
  23. set xlabel "Mesh or Network 12"
  24. splot "whale.dat" index 12 with points
  25. pause -1 "Press Return"
  26.  
  27. set xlabel "Mesh or Network 13"
  28. splot "whale.dat" i 13
  29. pause -1 "Press Return - A Loop over Indices could be done with reread"
  30.  
  31. #  #file "loop"
  32. #  maxmsh = 16
  33. #  ind = (ind + 1)%maxmsh
  34. #  splot "whale.dat" i ind
  35. #  reread "loop"
  36.  
  37. set xlabel "Mesh or Network 4"
  38. splot "whale.dat" i 4
  39. pause -1 "Press Return"
  40.  
  41. set xlabel "Mesh or Network 5"
  42. splot "whale.dat" i 5
  43. pause -1 "Press Return"
  44.  
  45. set title ""
  46. set xlabel ""
  47. set nohidden3d
  48. set auto
  49. set nopara
  50.